﻿using Scheduler.Model;

namespace Scheduler.IServices
{
    /// <summary>
    /// sysUserInfoServices
    /// </summary>	
    public interface ISysUserInfoServices 
    {
        //Task<SysUserInfo> SaveUserInfo(string loginName, string loginPwd);
        //Task<string> GetUserRoleNameStr(string loginName, string loginPwd);
        Task<MessageModel<TokenInfoViewModel>> Login(string name, string password);
        Task<string> AddUser(SysUserInfo sysUserInfo);
        //Task<MessageModel<string>> DeleteUser(long id);
        //Task<MessageModel<PageModel<SysUserInfoDto>>> GetUsers(int page, string key, string orgrizaitionId);
        //Task<MessageModel<string>> UpdateUser(SysUserInfoDto sysUserInfo);
        //Task<string> UpdatePassword(SysUserInfoDto sysUserInfo);
        ///// <summary>
        ///// 重置用户密码
        ///// </summary>
        ///// <param name="sysUserInfo"></param>
        ///// <returns></returns>
        //Task<string> ResetUserPassword(SysUserInfoDto sysUserInfo);
        Task<SysUserInfo> QueryById(long id);
    }
}
